﻿using InSafetyAirServer.Controller;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace InSafetyAirServer.Database
{
    [KnownType("GetKnownTypes")]
    [Serializable()]
    [DataContractAttribute(IsReference = true)]
    public class OurClass
    {
        // This method returns the array of known types. 
        static IList<Type> GetKnownTypes()
        {
            return Functions.getInstance().GetDatabaseClasses(); ;
        }
    }
}
